package org.dubnation.org.mapper;

import org.dubnation.org.domain.Employee;
import org.dubnation.org.domain.Shop;
import org.dubnation.base.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zhu
 * @since 2023-10-27
 */
public interface ShopMapper extends BaseMapper<Shop> {

    Shop queryByLogo(String path);

    void updateRejectState(Long shopId);

    void updateRejectNum(Shop shop);

    List<Employee> getAdmins();

    Shop queryByName(String name);
}
